package org.linlinjava.litemall.db.domain;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@TableName("lumiere_amount_difference")
public class LumiereAmountDifference implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    private Integer id;

    @TableField(value = "admin_id")
    private Integer adminId;

    @TableField(value = "shop_id")
    private Integer shopId;

    private BigDecimal amount;

    private Boolean enabled;

    @TableField(value = "add_time", fill = FieldFill.INSERT)
    private LocalDateTime addTime;

    @TableField(value = "update_time", fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;

    @TableLogic
    private Boolean deleted;
}
